let Router = require('koa-router')
let necon = require('../controller/neCon')
    // let neindecon = require('../controller/neindeCon')
let router = new Router({
    prefix: '/news' //地址加一个前缀
})

router.get('/index', necon.renIndex)
router.get('/newindex', necon.renIndexs)
router.get('/getdata', necon.getdata) //ajax
module.exports = router